<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--
@html_name: 02trimStart和trimEnd
@description: The past cannot be redeemed, the future can be changed.
@author: Jason Black
@create: 2023/6/27 19:45:13
-->
<script type="text/javascript">
  let str = '   Jason    '
  console.log(str)
  console.log(str.trimEnd())
  console.log(str.trimStart())
</script>
</body>
</html>